package com.showdoc.mapper.impl;

import com.showdoc.mapper.TeamMemberMapper;
import com.showdoc.pojo.TeamMember;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

public class TeamMemberMapperImpl implements TeamMemberMapper {
    @Autowired
    private TeamMemberMapper tMemMapper;

    @Override
    public List<TeamMember> selectByMemId(Long memId) {
        return tMemMapper.selectByMemId(memId);
    }

    @Override
    public List<TeamMember> selectByTeamId(Long teamId) {
        return tMemMapper.selectByTeamId(teamId);
    }

    @Override
    public void save(TeamMember teamMember) {
       this.save(teamMember);
    }

    @Override
    public void delete(TeamMember teamMember) {
        this.delete(teamMember);
    }
}
